home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1993 July / InfoMagic USENET CD-ROM July 1993.ISO / sources / unix / volume18 / elm2.2 / part06 < prev    next >
Encoding:
Internet Message Format  |  1989-04-12  |  49.3 KB

  1. Subject:  v18i085:  Elm mail system, release 2.2, Part06/24
  2. Newsgroups: comp.sources.unix
  3. Sender: sources
  4. Approved: rsalz@uunet.UU.NET
  5.  
  6. Submitted-by: dsinc!syd@uunet.UU.NET (Syd Weinstein)
  7. Posting-number: Volume 18, Issue 85
  8. Archive-name: elm2.2/part06
  9.  
  10. #!/bin/sh
  11. # this is part 6 of a multipart archive
  12. # do not concatenate these parts, unpack them in order with /bin/sh
  13. # file doc/Users.guide continued
  14. #
  15. CurArch=6
  16. if test ! -r s2_seq_.tmp
  17. then echo "Please unpack part 1 first!"
  18.      exit 1; fi
  19. ( read Scheck
  20.   if test "$Scheck" != $CurArch
  21.   then echo "Please unpack part $Scheck next!"
  22.        exit 1;
  23.   else exit 0; fi
  24. ) < s2_seq_.tmp || exit 1
  25. echo "x - Continuing file doc/Users.guide"
  26. sed 's/^X//' << 'SHAR_EOF' >> doc/Users.guide
  27. Xthat's reached, \f2use it!\f1  Soon you'll find
  28. Xareas that you need to expand into, and you can
  29. Xachieve that by going into the \f2o)ptions\f1
  30. Xscreen within \f2elm\f1 and changing your
  31. Xuser level accordingly.
  32. XAfter a while, sit down again and read through this
  33. Xguide.  You should have a couple of ``aha!'' intuitive
  34. Xflashes.  After another period of time, you're
  35. Xready to delve into the real power of the system
  36. Xand read the reference guide.  The other manuals
  37. Xshould be read as the need arises.
  38. X
  39. XIn any case, the system should be useable without reading
  40. X\f2any\f1 of the documentation!
  41. X
  42. XAny comments or problems with any of the documentation or the program
  43. Xitself are welcome; if you can't get electronic mail to me, please
  44. Xfeel free instead to drop me a note via the overland mail address
  45. Xin the title page.  
  46. X.br
  47. X.ne 20
  48. X.sp 
  49. X.hn 1 The Main System
  50. X
  51. XUpon entry to the program, the main screen will be 
  52. Xdisplayed as below;
  53. X
  54. X\" display start, constant width, remember loc for BOX
  55. X.ft CW
  56. X.ps 9
  57. X.mk a
  58. X.mk a
  59. X.sp
  60. X.ce
  61. XMailbox is '/usr/mail/mymail' with 15 messages  [Elm 2.2]
  62. X.TS
  63. Xr l n l l l l.
  64. X ->    N    1    Apr 24    Larry Fenske    (49)    Hello there
  65. X    N    2    Apr 24    jad@hpcnoe    (84)    Chico?  Why go there?
  66. X    E    3    Apr 23    Carl Smith    (53)    Dinner tonight?
  67. X    NU    4    Apr 18    Don Knuth    (354)    Your version of TeX...
  68. X    N    5    Apr 18    games    (26)    Bug in cribbage game
  69. X     A    6    Apr 15    kevin    (27)    More software requests
  70. X        7    Apr 13    John Jacobs    (194)    How can you hate RUSH?
  71. X     U    8    Apr 8    decvax!mouse    (68)    Re: your Usenet article
  72. X        9    Apr 6    root    (7)
  73. X    O    10    Apr 5    root    (13)
  74. X.TE
  75. X.sp
  76. X.ce 3
  77. XYou can use any of the following commands by pressing the first character;
  78. Xd)elete or u)ndelete mail, m)ail a message, r)eply or f)orward mail, q)uit
  79. XTo read a message, press <return>.  j = move down, k = move up, ? = help
  80. X Command : @
  81. X.sp 
  82. X\" draw box, proportional Roman font back, display end
  83. X.eb
  84. X.ps 10
  85. X.ft 1
  86. X
  87. XThere are a number of things to notice about this, the main screen;
  88. X
  89. X.lp \h'12p'\(bu 20p
  90. XMost likely, on your computer the message currently ``active'' will be
  91. Xdisplayed in an inverse bar rather than being delimited by the two
  92. Xcharacter arrow as here.  It's nothing to worry about; displaying
  93. Xinverse video is just quite difficult on printable guides!
  94. X
  95. X.lp \h'12p'\(bu 20p
  96. XThe first line on the screen always displays the name of the current folder,
  97. Xthe number of messages in the folder, and the current \f3Elm\f1 version number.
  98. X
  99. X.lp \h'12p'\(bu 20p
  100. XThe arrow (``->'') or inverse video bar will always
  101. Xindicate which is the current message.  
  102. X
  103. X.lp \h'12p'\(bu 20p
  104. XThe first field that appears associated with each message is
  105. Xthe status field.  This can be blank (as with most of the
  106. Xones above, or can have any combination of the following:
  107. X
  108. XThe first character signifies temporary status:
  109. X
  110. X.ta .75iC 102p
  111. X.nf
  112. X    E    for an \f2expired\f1 message
  113. X    N    for a \f2new\f1 message
  114. X    O    for an \f2old\f1 (i.e. not new but not read) message
  115. X    D    for a \f2deleted\f1 message
  116. X
  117. XThe second character which signifies permanent status:
  118. X
  119. X    U    for \f2urgent\f1 mail
  120. X    A    for messages that have an \f2action\f1 associated with them
  121. X    F    for a \f2form\f1 letter
  122. X.fi
  123. X
  124. XThe third character of the status field can be a ``+'' to
  125. Xindicate that the message is \f2tagged\f1 too.
  126. X
  127. X.lp \h'12p'\(bu 20p
  128. XContinuing from left to right, the next field is the message
  129. Xnumber.  For the most part you can ignore these unless you want
  130. Xto quickly move to a specific message (as we'll see later).
  131. X
  132. X.lp \h'12p'\(bu 20p
  133. XThe date associated with each message is typically
  134. Xthe date the person actually \f2sent\f1 the message.  
  135. X
  136. X.lp \h'12p'\(bu 20p
  137. XThe next field displayed indicates whom the message is from.  
  138. X\f3Elm\f1 will try to display the \f2full name\f1 of the person who 
  139. Xsent the message, rather than the their return address or computer login.  
  140. XSome systems don't generate the correct headers, though, hence 
  141. Xmessages like numbers 2 and 8, where it's their return address.
  142. X
  143. X.lp \h'12p'\(bu 20p
  144. XThe number in parentheses is the total number of lines in the message.
  145. X
  146. X.lp \h'12p'\(bu 20p
  147. XThe final field is the subject of the message.  Notice
  148. Xthat messages might not have any subject, as in messages #9 and #10.
  149. X
  150. X.lp \h'12p'\(bu 20p
  151. XA maximum of ten messages are displayed at one time\s-2\u1\d\s0.
  152. X.fn
  153. X1. On screens with greater than 25 lines, more messages will be 
  154. Xdisplayed automatically.  Further, if you choose to turn off
  155. Xthe Menu display, you can have an even greater number 
  156. Xdisplayed.
  157. X.ef
  158. XFurther into the document we'll learn how to change ``pages'' in the folder. 
  159. X
  160. X.lp \h'12p'\(bu 20p
  161. XThe three line Menu display will always 
  162. Xindicate the relevant commands.  There are actually two possible 
  163. Xmenus that can be displayed, based
  164. Xon the \f2user level\f1 as set from either the o)ptions screen or
  165. Xthe \f2.elm/elmrc\f1 
  166. Xfile.  The alternate menu, for more advanced users, 
  167. Xlists more options;
  168. X.sp
  169. X.ft CW
  170. X.ps 9
  171. X.ce 3
  172. X|=pipe, !=shell, ?=help, <n>=set current to n, /=search pattern
  173. Xa)lias, C)copy, c)hange folder, d)elete, e)dit, f)orward, g)roup reply, m)ail, 
  174. Xn)ext, o)ptions, p)rint, r)eply, s)ave, t)ag, q)uit, u)ndelete, or e(x)it
  175. X.ps 10
  176. X.ft 1
  177. X
  178. X.lp \h'12p'\(bu 20p
  179. XFinally, the '@' character indicates where the cursor would be, awaiting
  180. Xyour input.
  181. X
  182. X.sp
  183. X.in 0
  184. XThe typical action at this point is to use the \f2<return>\f1
  185. Xkey to read the current message, which will clear the 
  186. Xscreen and display the current message:
  187. X
  188. X.ne 10
  189. X.ft CW
  190. X.ps 9
  191. X.mk a
  192. X.tl ' Message 1/15 from Larry Fenske''Apr 24 \'87 at 8:45 pm'
  193. X.tl ''Hello there''
  194. X.nf
  195. X Dave, 
  196. X      Just wanted to drop you a brief note to see what was going on with 
  197. X you this afternoon.  Life here has been the usual fun and games...
  198. X         Ah well, off to the great wilds beyond the desk!
  199. X                Larry
  200. X Command ('i' to return to index): @
  201. X.fi
  202. X.eb
  203. X.ft 1
  204. X.ps 10
  205. X
  206. XBefore we go further with our example, however, let's very
  207. Xquickly look at all the functions available from the main
  208. Xscreen:
  209. X\" ensure we get a reasonable chunk of this table on the page...
  210. X.br
  211. X.ne 10
  212. X.lp \h'18p'\f3Command 90p
  213. XAction\f1
  214. X
  215. X.lp "\h'18p'<return> or <space>" 90p
  216. XRead current message.
  217. X.lp \h'18p'| 90p
  218. XPipe current message or tagged messages to specified system command.
  219. X.lp \h'18p'! 90p
  220. XShell escape.
  221. X.lp \h'18p'$ 90p
  222. XResynchronize folder.
  223. X.lp \h'18p'? 90p
  224. XHelp mode \(em any key pressed will be explained.
  225. X.lp "\h'18p'+ or <right>" 90p
  226. XDisplay next page of headers.
  227. X.lp "\h'18p'- or <left>" 90p
  228. XDisplay previous page of headers.
  229. X.lp \h'18p'= 90p
  230. XSet current message to 1.
  231. X.lp \h'18p'* 90p
  232. XSet current to last message.
  233. X.lp \h'18p'<number><return> 90p
  234. XSet current message to number \f2number\f1.
  235. X.lp \h'18p'/ 90p
  236. XSearch for pattern in subject/from lines.
  237. X.lp \h'18p'// 90p
  238. XSearch for pattern in entire folder.
  239. X.lp \h'18p'< 90p
  240. XScan message for calendar entries.\s-2\u2\d\s0
  241. X.fn
  242. X2. Some sites might opt not to have the calendar feature available.
  243. X.ef
  244. X.lp \h'18p'> 90p
  245. XA synonym for `s' \(em \f2save\f1 message or messages.
  246. X.sp
  247. X.lp \h'18p'a 90p
  248. XAlias, change to ``alias'' mode.
  249. X.lp \h'18p'b 90p
  250. XBounce \(em remail message [see \f2f \(em forward\f1 too].
  251. X.lp \h'18p'C 90p
  252. XCopy current message or tagged messages to folder.
  253. X.lp \h'18p'c 90p
  254. XChange to another folder.
  255. X.lp \h'18p'd 90p
  256. XDelete current message.
  257. X.lp \h'18p'<control>-D 90p
  258. XDelete all messages matching specified pattern.
  259. X.lp \h'18p'e 90p
  260. XEdit current folder, resyncing upon reentry.\s-2\u3\d\s0
  261. X.fn
  262. X3. Some sites might opt not to have the edit folder feature available.
  263. X.ef
  264. X.lp \h'18p'f 90p
  265. XForward message to specified user.\s-2\u4\d\s0
  266. X.fn
  267. X4. The difference between \f2Forward\f1 and \f2Bounce\f1 is rather 
  268. Xsubtle \(em a forwarded message is ``from'' you, with the
  269. Xoriginal message included, whereas a bounced message
  270. Xis still from the original sender.  
  271. X.ef
  272. X.lp \h'18p'g" 
  273. XGroup reply \(em reply to everyone who received the current message.
  274. X.lp \h'18p'h 90p
  275. XDisplay message with headers.
  276. X.lp \h'18p'J 90p
  277. XSet current to next message.
  278. X.lp "\h'18p'j or <down>" 90p
  279. XSet current to next message not marked deleted.
  280. X.lp \h'18p'K 90p
  281. XSet current to previous message.
  282. X.lp "\h'18p'k or <up>" 90p
  283. XSet current to previous message not marked deleted.
  284. X.lp \h'18p'l 90p
  285. XLimit displayed messages based on the specified criteria.  
  286. X.lp \h'18p'<control>-L 90p
  287. XRewrite screen.
  288. X.lp \h'18p'm 90p
  289. XMail to arbitrary user(s).
  290. X.lp \h'18p'n 90p
  291. XRead current message, then increment to next message not marked deleted.
  292. X.lp \h'18p'o 90p
  293. XAlter current system options.
  294. X.lp \h'18p'p 90p
  295. XPrint current message or tagged messages.
  296. X.lp \h'18p'q 90p
  297. XQuit \(em prompting for messages to delete, store, or keep.
  298. X.lp \h'18p'Q 90p
  299. XQuick quit \(em like quit but without prompting.
  300. X.lp "\h'18p'<control>-Q, DEL" 90p
  301. XExit \(em don't record as read, don't save...
  302. X.lp \h'18p'r 90p
  303. XReply to the author of current message.
  304. X.lp \h'18p's 90p
  305. XSave current message or tagged messages to folder.
  306. X.lp \h'18p't 90p
  307. XTag current message.
  308. X.lp \h'18p'<control>-T 90p
  309. XTag all messages matching specified pattern.
  310. X.lp \h'18p'u 90p
  311. XUndelete current message.
  312. X.lp \h'18p'<control>-U 90p
  313. XUndelete all messages matching specified pattern.
  314. X.lp \h'18p'x 90p
  315. XExit \(em don't record as read, don't save...
  316. X.in 0
  317. X\" again, make sure we start on a new page please
  318. X.br
  319. X.ne 10
  320. XBut let's go back to our example and see some of this at
  321. Xwork, shall we?
  322. X.sp
  323. XWe were reading the message from Larry and the screen looked
  324. Xlike:
  325. X
  326. X.ne 10
  327. X.ft CW
  328. X.ps 9
  329. X.mk a
  330. X.tl ' Message 1/15 from Larry Fenske''Apr 24 \'87 at 8:45 pm'
  331. X.tl ''Hello there''
  332. X.nf
  333. X Dave, 
  334. X      Just wanted to drop you a brief note to see what was going on with 
  335. X you this afternoon.  Life here has been the usual fun and games...
  336. X          Ah well, off to the great wilds beyond the desk!
  337. X                Larry
  338. X Command ('i' to return to index): @
  339. X.fi
  340. X.eb
  341. X.ft 1
  342. X.ps 10
  343. X
  344. XFrom this point let's go ahead and reply to the message.  To
  345. Xdo this, we can use the \f2reply\f1 command...
  346. XTo do this, we type ``r'' and the last few lines change to
  347. Xsomething like:
  348. X.ft CW
  349. X.ps 9
  350. X.sp 
  351. X.tl '-------------------------------------------------------------------------------''
  352. X.tl 'Command: Reply to message''Copy message (y/n) ? @ '
  353. X.sp 2
  354. X.ft 1
  355. X.ps 10
  356. XTo which we decide that we don't need the text of this message in 
  357. Xour new one, so we reply \f2no\f1 by pressing the ``n'' key.  The
  358. Xbottom part of the window then changes to:
  359. X.ft CW
  360. X.ps 9
  361. X.sp
  362. X.tl '-------------------------------------------------------------------------------''
  363. X.tl 'Command: Reply to message''To: Larry Fenske '
  364. X.tl 'Subject: Re: Hello there@''
  365. X.ft 1
  366. X.ps 10
  367. X.sp 2
  368. Xat this point we can either decide to enter a new subject (you could
  369. Xuse either \f2backup word\f1 (<control>-W) or \f2backup line\f1 (this
  370. Xis the same as your `line kill' character, <control>-X or <control>-U
  371. Xusually)) or go with this one by pressing \f2<return>\f1.  We'll
  372. Xjust leave it as it is and press \f2<return>\f1, changing the
  373. Xscreen to:
  374. X.ps 9
  375. X.ft CW
  376. X.sp
  377. X.tl '-------------------------------------------------------------------------------''
  378. X.tl 'Command: reply to message''To: Larry Fenske '
  379. X.tl 'Subject: Re: Hello there''
  380. X.tl 'Copies to: @'''
  381. X.ps 10
  382. X.ft 1
  383. X.sp 
  384. XThere's no one we want to have receive copies of this message, so we'll
  385. Xjust press \f2<return>\f1 again to indicate this.  
  386. X
  387. XOnce you've answered these questions the program will put you into
  388. Xyour favorite editor and let you compose a response.  When you're
  389. Xdone it then asks:
  390. X.ps 9
  391. X.ft CW
  392. X.sp
  393. X.tl ''-------------------------------------------------------------------------------''
  394. X.tl 'Please choose one of the following options by parenthesized letter: @'''
  395. X.tl ''e)dit message, edit h)eaders, s)end it, or f)orget it.''
  396. X.ft 1
  397. X.ps 10
  398. X.sp
  399. XSince we're just interested in sending the message out, we'll
  400. Xchoose the \f2send\f1 option and press ``s''.  The program
  401. Xthen sends the message, indicating that by the line below
  402. Xsaying:
  403. X.sp
  404. X.ps 9
  405. X.ft CW
  406. X    Sending mail...
  407. X.ft 1
  408. X.ps 10
  409. X.sp
  410. Xthen putting at the bottom of the screen ``Mail sent!'' and giving us
  411. Xthe prompt:
  412. X.ps 9
  413. X.ft CW
  414. X.sp
  415. X.tl ''-------------------------------------------------------------------------------''
  416. X.tl 'Command:''(Use \'i\' to return to index.)''
  417. X.sp
  418. X.ps 10
  419. X.ft 1
  420. XPretty easy, isn't it?  Let's continue by going back to the main
  421. Xscreen by requesting \f2index\f1: pressing the ``i'' key.  The
  422. Xscreen is then:
  423. X
  424. X.ne 20
  425. X.ft CW
  426. X.ps 9
  427. X.mk a
  428. X.mk a
  429. X.sp
  430. X.ce
  431. XMailbox is '/usr/mail/mymail' with 15 messages  [Elm 2.2]
  432. X.TS
  433. Xr l r l l l l.
  434. X ->        1    Apr 24    Larry Fenske    (49)    Hello there
  435. X    N    2    Apr 24    jad@hpcnoe    (84)    Chico?  Why go there?
  436. X    E    3    Apr 23    Carl Smith    (53)    Dinner tonight?
  437. X    NU    4    Apr 18    Don Knuth    (354)    Your version of TeX...
  438. X    N    5    Apr 18    games    (26)    Bug in cribbage game
  439. X     A    6    Apr 15    kevin    (27)    More software requests
  440. X        7    Apr 13    John Jacobs    (194)    How can you hate RUSH?
  441. X     U    8    Apr 8    decvax!mouse    (68)    Re: your Usenet article
  442. X        9    Apr 6    root    (7)
  443. X    O    10    Apr 5    root    (13)
  444. X.TE
  445. X.sp
  446. X.ce 3
  447. XYou can use any of the following commands by pressing the first character;
  448. Xd)elete or u)ndelete mail, m)ail a message, r)eply or f)orward mail, q)uit
  449. XTo read a message, press <return>.  j = move down, k = move up, ? = help
  450. X Command : @
  451. X.sp 
  452. X\" draw box, proportional Roman font back, display end
  453. X.eb
  454. X.ft 1
  455. X.ps 10
  456. X
  457. X.ft 1
  458. XNotice that the first message is no longer marked as \f2new\f1
  459. Xsince we've now read it.
  460. X.sp
  461. XLet's go ahead and read the message from kevin (message #6) since
  462. Xit has some sort of \f2action\f1 associated with it anyway.  To
  463. Xdo this, we simply press the ``6'' key, which will change the
  464. Xbottom of the screen to:
  465. X.sp
  466. X.ps 9
  467. X.ft CW
  468. X.tl 'Command: New Current Message''Set current message to : 6@'
  469. X.ft 1
  470. X.ps 10
  471. X.sp
  472. XWe'll just press \f2<return>\f1 to move the active message
  473. Xpointer (the arrow).
  474. X.sp
  475. XNow we're pointing at the new message, so let's go ahead and read
  476. Xit by pressing \f2<return>\f1 again, giving us:
  477. X
  478. X.ne 10
  479. X.ft CW
  480. X.ps 9
  481. X.mk a
  482. X.tl ' Message 6/15 from kevin''Apr 15 \'87 at 11:36 am'
  483. X.tl ''More software requests''
  484. X Action: please acknowledge receipt
  485. X I don't suppose you have a nifty netnews reader around too, do you??
  486. X --
  487. X kevin
  488. X Command ('i' to return to index): @
  489. X.eb
  490. X.sp
  491. X.ps 10
  492. X.ft 1
  493. X
  494. X.br
  495. X.ne 5
  496. XWell, it turns out that we don't, but a friend of ours does, so
  497. Xlet's \f2forward\f1 the message to them by pressing ``f'':
  498. X.ps 9
  499. X.ft CW
  500. X.sp
  501. X.tl '-------------------------------------------------------------------------------''
  502. X.tl 'Command: Forward message''Edit outgoing message (y/n) ? @ '
  503. X.ft 1
  504. X.ps 10
  505. X.sp 2
  506. XNo need to edit it, so let's answer \f2no\f1 with ``n'':
  507. X.sp
  508. X.ps 9
  509. X.ft CW
  510. X.tl '-------------------------------------------------------------------------------''
  511. X.tl 'Command: Forward message''Edit outgoing message (y/n) ? No '
  512. X.tl 'To: @'''
  513. X.ps 10
  514. X.ft 1
  515. X.sp 
  516. XWe type in the address of the person we're forwarding to (in
  517. Xthis case 
  518. X.ft CW
  519. Xusenet\f1) and press
  520. X\f2<return>\f1:
  521. X.ft CW
  522. X.ps 9
  523. X.sp
  524. X.tl '-------------------------------------------------------------------------------''
  525. X.tl 'Command: Forward message''To: usenet '
  526. X.tl 'Subject: More software requests (fwd)@'
  527. X.ft 1
  528. X.ps 10
  529. X.sp
  530. XTo which we again press \f2<return>\f1 to take the default subject.
  531. X\f3Elm\f1 asks for any possible copy recipients, asks us if we're
  532. Xsure we want to send it, and shoots it off.
  533. X.sp
  534. XEnough mail for now, however, so we just \f2exit\f1 by pressing
  535. Xthe ``x'' key and the program drops us back into our shell.
  536. X.sp 2
  537. XAs you can see, it's quite easy to use the \f3Elm\f1 system, so
  538. Xrather than continue with our example, let's
  539. Xlook at some other aspects of the program.
  540. X.br 
  541. Xne 5
  542. X.sp
  543. X.hn 1 Non-Interactive Uses of Elm
  544. X
  545. XBefore we go ahead and discuss the \f3Elm\f1 utilities, it's worth 
  546. Xnoting that 
  547. Xthere are a couple of other ways to use the main mail
  548. Xsystem, namely to `send only' and to send files (batchmail).
  549. X
  550. XTo send a message to someone without any of the associated 
  551. Xoverhead of reading in a mail folder. you can invoke the
  552. Xmailer with the name(s) of the people to send to.  For example:
  553. X.nf
  554. X  $ \f3elm dave_taylor\f1
  555. X.fi
  556. XThe 
  557. Xmailer will then prompt for Subject, Copies, and then drop
  558. Xyou in your editor (defined in the \f2.elmrc\f1 file) to compose
  559. Xthe message.   When composition is complete, the program 
  560. Xverifies transmission then terminates.
  561. X
  562. X.ne 3
  563. XThe mailer also supports batch type mailing, of files and so on,
  564. Xby using the following command:
  565. X.nf
  566. X  $ \f3elm dave_taylor < help.c\f1
  567. X.fi
  568. Xwhich will read in the file and transmit it to the specified user.
  569. X
  570. X.ne 3
  571. XA subject may be specified with ``-s \f2subject\f1'' as an option
  572. Xto the program in either `send only' or `batch' modes, as in:
  573. X.nf
  574. X  $ \f3elm -s "File help.c, as promised" dave_taylor < help.c\f1
  575. X.fi
  576. X.br
  577. X.ne 5
  578. X.sp 
  579. X.hn 1 The Elm Utilities
  580. X
  581. XThe \f3Elm\f1 mail system is really much more than a single
  582. Xprogram for reading and writing mail.  It's a unified 
  583. Xenvironment for intelligently dealing with electronic
  584. Xcorrespondence.  As a consequence, it contains a number of other
  585. Xprograms to aid in the easy processing of `email', 
  586. Xincluding the following;
  587. X
  588. X.lp \h'10p'answer 1.0i
  589. XAn answering-machine transcription program.  Please see the
  590. Xmanual entry for more information on how to use this program.
  591. X
  592. X.lp \h'10p'autoreply 1.0i
  593. XThis program, in conjunction with the ``arepdaemon'', enables users
  594. Xto automatically reply to incoming mail when they're not directly
  595. Xavailable.
  596. X
  597. X.lp \h'10p'checkalias 1.0i
  598. XA script for checking aliases simply.
  599. X
  600. X.lp \h'10p'messages 1.0i
  601. XA script that lists the number of messages in the specified 
  602. Xfolder.  Suitable for login scripts and such.
  603. X
  604. X.lp \h'10p'newmail 1.0i
  605. XThis program monitors a mailbox or set of mailboxes and can
  606. Xoutput notification of new mail in one of two possible
  607. Xformats; either:
  608. X
  609. X.ne 6
  610. X.ft CW
  611. X.ps 9
  612. X>> New mail from Jimmy Carter - Urgent matters of state
  613. X>> New mail from joe@ucbvax.arpa - Did I hear someone say PARTY??
  614. X.ft 1
  615. X.ps 10
  616. X
  617. Xif running as \f2newmail\f1 or:
  618. X
  619. X.ft CW
  620. X.ps 9
  621. XJimmy Carter -- Urgent matters of state
  622. Xjoe@ucbvax.arpa -- Did I hear someone say PARTY??
  623. X.ft 1
  624. X.ps 10
  625. X
  626. Xif running as \f2wnewmail\f1.  BSD Users will find this is
  627. Xa far superior \f2biff\f1 program.
  628. X
  629. X.lp \h'10p'wnewmail 1.0i
  630. XThis is the same program as newmail, but has different
  631. Xdefaults if invoked this way.
  632. X
  633. X.lp \h'10p'readmsg 1.0i
  634. XThis handy little program can be used in two ways.  First off,
  635. Xit can be used to easily read a specific message in the
  636. Xincoming mailbox, specified by ordinal number, by a string that
  637. Xthe message contains, by the metacharacter `$' which 
  638. Xrepresents the last message in the folder, or `*' which matches 
  639. Xall the messages in the folder.
  640. X
  641. XFor example;
  642. X
  643. X$ \f3readmsg 4 5 9 | lpr\f1
  644. X
  645. Xwould generate a printout, \f2sans\f1 superfluous headers, of the fourth,
  646. Xfifth and ninth messages in your mailbox.
  647. X
  648. X$ \f3readmsg Carter | page\f1
  649. X
  650. Xwould be a fast way to read what `ole Jimmy has to say...
  651. Xand
  652. X
  653. X$ \f3readmsg -h hear someone say\f1
  654. X
  655. Xwould list, including all the message headers, the message
  656. Xcontaining the string ``hear someone say''.
  657. X
  658. X.lp \h'10p'frm 1.0i
  659. XSimilar to the Berkeley \f2from\f1 command, this will
  660. Xgive you a ``table of contents'' of either the current
  661. Xmailbox or a mailbox of your choice.   It's useful to
  662. Xsee what mail is pending, or what's in a mailbox.
  663. XIf used with the `-n' option, it will number each message
  664. Xin a way compatible with the arguments \f2readmsg\f1
  665. Xexpects to get, too!
  666. X
  667. X.lp \h'10p'newalias 1.0i
  668. XThis is used to install new user/group aliases.  Please see
  669. X\f2The Elm Alias Users Guide\f1 for further information on this!
  670. X
  671. X.lp \h'10p'fastmail 1.0i
  672. XSometimes you want to have a batchmailing system that works as
  673. Xquickly as possible, not bothering with aliases or any of the
  674. Xother ``deluxe'' features of \f3Elm\f1.  An example of this would
  675. Xbe if you have a large mailing list for a newsletter, say.
  676. XThis command, \f2fastmail\f1, is designed just for that purpose.
  677. XIt avoids the lengthy startup time of \f3Elm\f1 while still
  678. Xgenerating valid \f2RFC-822\f1\s-2\u5\d\s0 mail.
  679. X.fn
  680. X5. If you don't know what RFC-822 is, don't worry about it!
  681. X.ef
  682. XPlease see the manual entry for more information on this
  683. Xcommand.
  684. X.in 0
  685. X.br
  686. X.ne 5
  687. X.sp
  688. X.hn 1 Credits and So on
  689. X
  690. XThis mailer has been evolving over the past few years with
  691. Xinvaluable comments on the interface and general mail 
  692. Xissues from the following people;
  693. XJim Davis, Steve Wolf (or should that say Steve!! Wolf!!!! perhaps?),
  694. XLarry Fenske, Rob Sartin,
  695. XJohn Dilley and Carl Dierschow.
  696. X.sp
  697. XFor the Berkeley implementation, lots of help came from
  698. Xboth John Lebovitz and Ken Stone.
  699. X.sp
  700. XFor the Amdahl/UTS implementation, thanks to Scott McGregor and
  701. XStan Isaacs.
  702. X.sp
  703. XFor the Sun problems, Dave England in Lancaster (UK) turned out to be
  704. X``bloody useful'', as he would no doubt say.
  705. X.sp
  706. XThe Pyramid version is due to the work of Steve Malone
  707. Xof the University of Washington.
  708. X.sp
  709. XA number of other people have been amazingly disciplined at reporting 
  710. Xproblems and (usually, much to my relief) indicating the fixes needed,
  711. Xespecially Guy Hillyer, Bruce Townsend and Eric Negaard.
  712. X.sp
  713. XThere have been many, many others, too numerous to mention, that
  714. Xhave inspired me with questions like "Why can't Elm..." or 
  715. X"Why does it ..." or "Can we make it..." too.  A loud round of
  716. Xapplause and an enthusiastic THANK YOU to you all!!
  717. X.sp
  718. XAlso helpful was the ability to have my `own' machine to 
  719. Xclose up the many many iterative loops that this software
  720. Xhas gone through \(em since being on a big multi-user machine
  721. Xtends to slow it down to a standstill...
  722. XFor that, I thank Hewlett-Packard Colorado Networks Division for their 
  723. Xinitial support, and now HP Laboratories for the wonderful working 
  724. Xenvironment that I have here (more than any one person is safe having, 
  725. XI suspect).
  726. X.sp
  727. XMailers that have influenced the design and implementation of \f3Elm\f1, 
  728. Xfor better or worse, include the following;
  729. X
  730. X.lp \h'4p'\f2/bin/mail\f1 1.0i
  731. XThe most basic of mailers, this one was simply the example of how \f2not\f1
  732. Xto force the user to interact with a program.
  733. X
  734. X.lp \h'4p'\f2Berkeley Mail\f1 1.0i
  735. XA surprisingly sophisticated mailer, especially the version with 4.3 BSD,
  736. X\f2Berkeley Mail\f1 still suffers from the tendency to force the user to
  737. Xknow too much about the system, and also lacks a friendly, non-cryptic
  738. Xinterface for the large subset of the population that use Unix but aren't
  739. Xinterested in becoming a ``hacker''.
  740. X
  741. X.lp \h'4p'\f2MH\f1 1.0i
  742. XThis is another nifty mailer.  The main difference between this and the
  743. Xother mailers about is that it is a discrete set of programs rather than
  744. Xa single unified interface.  This is quite useful for those people that
  745. Xreceive \f2lots\f1 of mail and are willing to spend some time learning
  746. Xthe intricacies of the program.  It's quite powerful, but again, misses some
  747. Xof the basic friendly features the majority of users are interested in.
  748. X
  749. X.lp \h'4p'\f2dmail\f1 1.0i
  750. XA sort of mutated cross between \f2MH\f1 and \f2Berkeley Mail\f1, it was
  751. Xthis program that convinced me to implement the \f2Limit\f1 functions.
  752. X
  753. X.lp \h'4p'\f2NMail\f1 1.0i
  754. X(a part of the HP AI Workstation Software Environment).  This program hints
  755. Xat the power that mailers could be given to help deal with mail in a quick
  756. Xand intelligent fashion.  Most of what it can do, and a lot more, are 
  757. Xtherefore part of \f3Elm\f1.  Indubitably.  And quite faster too!
  758. X
  759. X.lp \h'4p'\f2PMX/TERM\f1 1.0i
  760. XPart of the AT&T Mail package, a single glance at this interface convinced
  761. Xme that a PC interface, with almost half of the screen taken up by a silly
  762. Xfunction key mapping, is most certainly \f2not\f1 the way to do things!!
  763. XOn the other hand, it also shows that the \f2Forms\f1 mode can be quite
  764. Xnicely integrated into a more sophisticated mailer.
  765. X
  766. X.lp \h'4p'\f2fmail\f1 1.0i
  767. XA nickel addition to the \f2/bin/mail\f1 program to add some rudimentary
  768. Xscreen interface stuff, this nonetheless interesting mailer is part of 
  769. Xthe AT&T Toolchest.
  770. X
  771. X.lp \h'4p'\f2Laurel\f1 1.0i
  772. XA program only available within Xerox PARC, this was an interesting
  773. Xearly attempt at a graphics based full-screen mail program.  The one,
  774. Xperhaps trivial, part of the interface I really like was the fact that
  775. Xit would \f2cross out\f1 a message that was marked for deletion.  One
  776. Xday when we get real graphics and the ability to use them indicated in
  777. Xa facility (not too) like \f2termcap\f1, perhaps \f3Elm\f1 will do 
  778. Xthis too! 
  779. X
  780. X.lp \h'4p'\f2Mailtool\f1 1.0i
  781. XPart of the Sun distribution package, this program is a really nice
  782. Xexample of what can be done by putting a smart shell on top of a dumb
  783. Xprogram \(em it uses \f2/bin/mail\f1 for all the `dirty work'.  Other than
  784. Xthat, it's not a particularly interesting interface or mailer, and it
  785. Xcertainly doesn't add much functionality!
  786. X
  787. X.lp \h'4p'\f2Metamail\f1 1.0i
  788. XWhat can I say?  This isn't even a real mailer, but is just what I dream
  789. Xof as an interface to mail in the future.  A program that works sort of
  790. Xlike \f3HAL\f1 did in \f22001: A Space Odyssey\f1 \(em where it interrupts
  791. Xme as appropriate for important mail, and can answer inane and other
  792. Xqueries itself according to what I teach it.  Maybe \f3Elm\f1, by some sort
  793. Xof groupmind metamorphosis, will change into that someday.  Maybe not.  Maybe
  794. Xno-one bothers to read this far into the document!!
  795. X
  796. X.in 0
  797. XFinally, it's also been a very useful experience overall,
  798. Xconfirming my beliefs that iterative software design and
  799. Xkeeping a close watch on users (not to mention an open
  800. Xmind and mailbox!) improves a product manyfold.  Comments,
  801. Xfeedback and bug reports (and fixes!) are, of course, always welcome!
  802. X.br
  803. X.ne 5
  804. X.sp
  805. X.hn 1 Credits and So on Part II - The Usenet Elm Development Group
  806. X
  807. XAs coordinator of the Elm Development Group, I must add to the credits.
  808. XThis group of volunteers has taken the Elm code from Dave Taylor and
  809. Xadded features, made it more robust, and more portable.
  810. X.sp
  811. XFor getting the Usenet Elm group going, for without which I wouldn't be
  812. Xwriting this, thanks to Greg Hackney at Southwestern Bell Telephone Co.
  813. X.sp
  814. XFor the Configuration system and its newer Dist 2.0 version, thanks are
  815. Xdue to Larry Wall of JPL-NASA.
  816. X.sp
  817. XFor his over two hundred sets of changes to version 2.2, Elm owes a lot
  818. Xto Rob Bernardo at Pacbell.
  819. X.sp
  820. XThe ability to run Elm at all on Intel 286 machines owes a lot to the
  821. Xinsistent nudging of the coordinator by Chip Salzenberg,
  822. XChip Rosenthal, and Tim Evans.
  823. X.sp
  824. XFor getting us the rights to use the news macros and converting all
  825. Xthe documentation over to those macros, thanks to Mike Brown.
  826. X
  827. XNow, before I get accused of leaving someone out, here are the
  828. Xmembers of the Elm Development and the Elm Testing Group:
  829. X.sp
  830. XJonathan Bayer,
  831. XRob Bernardo,
  832. XDoug Blair,
  833. XKevin Bond,
  834. XMike Brown,
  835. XEd Clarke,
  836. XSteven Donegan,
  837. XPaul Ebersman,
  838. XAvi Feldblum,
  839. XSteven Goodman,
  840. XGreg Hackney,
  841. XMark Hahn,
  842. XMitch Hamilton,
  843. XEd Hann,
  844. XDavid Hawkins,
  845. XNate Hess,
  846. XPhil Hochstetler,
  847. XBud Hovell,
  848. XKenneth Ingham,
  849. XChad Larson,
  850. XWarren Lavallee,
  851. XHoward Leadman,
  852. XJohn A. Limpert,
  853. XAndy Linton,
  854. XDarrell McIntosh,
  855. XDatta Miruke,
  856. XPaul M. Moriarty,
  857. XAndrew Mossberg,
  858. XRobert B. Nelson,
  859. XLeo C. Noordhuizen,
  860. XBrian O'Neill,
  861. XFairfax O'Riley,
  862. XPete Phillips,
  863. XDave Rasmussen,
  864. XLen Rose,
  865. XChip Rosenthal,
  866. XChip Salzenberg,
  867. XRay Smith,
  868. XGary Trujillo,
  869. XEd Wells,
  870. XMike Whitman,
  871. XDave Yearke,
  872. XJon Zeeff,
  873. Xand
  874. XSyd Weinstein, Elm Coordinator.
  875. SHAR_EOF
  876. echo "File doc/Users.guide is complete"
  877. chmod 0444 doc/Users.guide || echo "restore of doc/Users.guide fails"
  878. echo "x - extracting doc/answer.1 (Text)"
  879. sed 's/^X//' << 'SHAR_EOF' > doc/answer.1 &&
  880. X.TH ANSWER 1L "Elm Version 2.2" "USENET Community Trust"
  881. X.ad b
  882. X.SH NAME
  883. Xanswer - phone message transcription system
  884. X.SH SYNOPSIS
  885. X.B answer
  886. X.PP
  887. X.SH DESCRIPTION
  888. X.I Answer\^
  889. Xis a part of the 
  890. X.B Elm
  891. Xmail system and is designed for secretaries and the like
  892. Xto allow them to answer phones and|or listen to phone message
  893. Xmachines and quickly and easily transcribe the messages into
  894. Xelectronic mail.
  895. X.P
  896. XThe program uses its own alias set (usually a subset of the
  897. Xsystem aliases, with more fields per user (ie unique first
  898. Xnames, unique last names, first-initial lastname, and so on)).
  899. XNote this means that you must create and then install, using
  900. X.I newalias,
  901. Xa separate alias table for the account this program is to 
  902. Xbe run from.
  903. X.P
  904. XInterface-wise, the program is a breeze to use - type 'answer'
  905. Xto start it up and then merely type a user name at the
  906. X.nf
  907. X    
  908. X    Message to:
  909. X
  910. X.fi
  911. Xprompt, and then enter the message, ending with a blank line.
  912. XNames can be entered as 'Firstname Lastname' and the system
  913. Xwill try to find a mail alias based on the first letter of the
  914. Xfirst name plus the last name.  For example, 'Dave Taylor'
  915. Xwill cause the program to search for an alias 'd_taylor' in
  916. Xthe file (note the transliteration into lower case).   The 
  917. Xprogram will loop until killed or quit.
  918. X.P
  919. X.I Answer
  920. Xcan be easily exited by typing any of 'quit', 'exit' 'done', 
  921. Xor 'bye' at the 'Message to:' prompt.
  922. X.SH AUTHOR
  923. XDave Taylor, Hewlett-Packard Laboratories
  924. X.SH SEE ALSO
  925. X.I "The Elm Alias System Users Guide", 
  926. Xby Dave Taylor
  927. X.sp
  928. X.br
  929. Xnewalias(1L), checkalias(1L), mail(1), mailx(1), from(1L), printmail(1L)
  930. X.SH FILES
  931. X$home/.alias_hash             individual alias hash table
  932. X.br
  933. X$home/.alias_data             individual alias data table
  934. X.br
  935. X/tmp/snd.$$                   edit buffer for outgoing mail
  936. X.SH BUG REPORTS TO
  937. XSyd Weinstein    elm@dsinc.UUCP    (dsinc!elm)
  938. X.SH COPYRIGHTS
  939. X.ps 18
  940. X\fB\(co\fR\s12 Copyright 1986, 1987 by Dave Taylor
  941. X.br
  942. X.ps 18
  943. X\fB\(co\fR\s12 Copyright 1988, 1989 by The USENET Community Trust
  944. SHAR_EOF
  945. chmod 0444 doc/answer.1 || echo "restore of doc/answer.1 fails"
  946. echo "x - extracting doc/autoreply.1 (Text)"
  947. sed 's/^X//' << 'SHAR_EOF' > doc/autoreply.1 &&
  948. X.TH AUTOREPLY 1L "Elm Version 2.2" "USENET Community Trust"
  949. X.ad b
  950. X.SH NAME
  951. Xautoreply - Automatic mail reply system
  952. X.SH SYNOPSIS
  953. X.B autoreply
  954. X.br
  955. X.B "autoreply off"
  956. X.br
  957. X.B autoreply
  958. X.I filename
  959. X.PP
  960. X.SH DESCRIPTION
  961. X.I Autoreply\^
  962. Xis a part of \fBThe Elm Mail System\fR
  963. Xand is designed to enable users to easily set up
  964. Xan automatic response to all mail they receive.  This is
  965. Xtypically during a vacation or some other period of time that
  966. Xthe user is not available to reply to mail (although some
  967. Xpeople get enough mail that they have it permanently running
  968. Xto simply send an "ack" to each message)
  969. X.PP
  970. XThe system is quite easy to use...
  971. XYou can type "autoreply" and be informed of your current
  972. Xstatus in the system (on or off), or "autoreply off" will
  973. Xturn your autoreplying off.
  974. X.PP
  975. XTo add yourself to the system, you need merely to compose a
  976. Xform response in a file somewhere, then type "autoreply \fIfile\fR"
  977. Xwhere \fIfile\fR is the name of the file.
  978. X.SH "SPECIAL NOTE"
  979. XFor this to function correctly, the program "arepdaemon" must
  980. Xbe running as a daemon in background.  This program automatically
  981. Xchecks all the currently enrolled users for new mail in their
  982. Xmailboxes...
  983. X.SH AUTHOR
  984. XDave Taylor, Hewlett-Packard Laboratories.
  985. X.SH SEE ALSO
  986. X.I "The Elm Users Guide", 
  987. Xby Dave Taylor
  988. X.sp
  989. X.br
  990. Xarepdaemon(1L), elm(1L), mail(1), mailx(1)
  991. X.SH "BUGS"
  992. XUnfortunately, this program isn't too brilliant about identifying
  993. Xmail that shouldn't be responded to (like mail from other
  994. Xdaemons, or your mother) but that's a more general problem anyway.
  995. X.sp
  996. XAlso, occasionally a user will remove themselves from the
  997. Xautoreply system and the system won't turn their autoreply
  998. Xoff.  This is a problem that hasn't been solved yet (obviously
  999. Xsince it's in the "bugs" section!!) and any further information
  1000. Xwould be appreciated!
  1001. X.SH BUG REPORTS TO
  1002. XSyd Weinstein    elm@dsinc.UUCP    (dsinc!elm)
  1003. X.SH COPYRIGHTS
  1004. X.ps 18
  1005. X\fB\(co\fR\s12 Copyright 1986, 1987 by Dave Taylor
  1006. X.br
  1007. X.ps 18
  1008. X\fB\(co\fR\s12 Copyright 1988, 1989 by The USENET Community Trust
  1009. SHAR_EOF
  1010. chmod 0444 doc/autoreply.1 || echo "restore of doc/autoreply.1 fails"
  1011. echo "x - extracting doc/chkalias.1 (Text)"
  1012. sed 's/^X//' << 'SHAR_EOF' > doc/chkalias.1 &&
  1013. X.TH CHECKALIAS 1L "Elm Version 2.2" "USENET Community Trust"
  1014. X.ad b
  1015. X.SH NAME
  1016. Xcheckalias - check to see if an alias is defined.
  1017. X.SH SYNOPSIS
  1018. X.B checkalias
  1019. Xalias, alias, ...
  1020. X.SH DESCRIPTION
  1021. X.I Checkalias
  1022. Xchecks the user file first, and then the system alias file
  1023. Xto try to find the specified alias or aliases.  If found, 
  1024. Xthe value of the alias is printed out, otherwise an error
  1025. Xis generated.
  1026. X.P
  1027. XNote: this is in fact a one-line shell script;
  1028. X.nf
  1029. X
  1030. X    elm -c $*
  1031. X.fi
  1032. X.SH AUTHOR
  1033. XDave Taylor, Hewlett-Packard Laboratories
  1034. X.SH SEE\ ALSO
  1035. Xnewalias(1L), elm(1L), mail(1), mailx(1)
  1036. X.SH BUGS
  1037. XNote that the precedence of aliases is user file then system
  1038. Xfile.  This means that a user can 'overload' an alias by having
  1039. Xone defined in the system file also defined in theirs.  This
  1040. Xshouldn't turn out to be a problem, but is something for
  1041. Xthe system administrator to keep in mind when creating the
  1042. Xsystem alias file.
  1043. X.SH BUG REPORTS TO
  1044. XSyd Weinstein    elm@dsinc.UUCP    (dsinc!elm)
  1045. X.SH COPYRIGHTS
  1046. X.ps 18
  1047. X\fB\(co\fR\s12 Copyright 1986, 1987 by Dave Taylor
  1048. X.br
  1049. X.ps 18
  1050. X\fB\(co\fR\s12 Copyright 1988, 1989 by The USENET Community Trust
  1051. SHAR_EOF
  1052. chmod 0444 doc/chkalias.1 || echo "restore of doc/chkalias.1 fails"
  1053. echo "x - extracting doc/elm-help.0 (Text)"
  1054. sed 's/^X//' << 'SHAR_EOF' > doc/elm-help.0 &&
  1055. X
  1056. X        Command                      Elm 2.2 Action
  1057. X
  1058. X          <RETURN>,<SPACE>      Display current message
  1059. X           |                    Pipe current message or tagged messages to
  1060. X                                        a system command.
  1061. X           !                    Shell escape
  1062. X           $                    Resynchronize folder
  1063. X           ?                    This screen of information
  1064. X           +, <RIGHT>           Display next index page
  1065. X           -, <LEFT>            Display previous index page
  1066. X           =                    Set current message to first message
  1067. X           *                    Set current message to last message
  1068. X           <NUMBER><RETURN>     Set current message to <NUMBER>
  1069. X           /                    Search from/subjects for pattern
  1070. X           //                   Search entire message texts for pattern
  1071. X           >                    Save current message or tagged messages
  1072. X                                        to a folder
  1073. X           <                    Scan current message for calendar entries
  1074. X           a                    Alias, change to 'alias' mode
  1075. X           b                    Bounce (remail) current message
  1076. X           C                    Copy current message or tagged messages
  1077. X                                        to a folder
  1078. X           c                    Change to another folder
  1079. X           d                    Delete current message
  1080. X          ^D                    Delete messages with a specified pattern
  1081. X           e                    Edit current folder
  1082. X           f                    Forward current message
  1083. X           g                    Group (all recipients) reply to current message
  1084. X           h                    Headers displayed with message
  1085. X           J                    Increment current message by one
  1086. X           j, <DOWN>            Advance to next undeleted message
  1087. X           K                    Decrement current message by one
  1088. X           k, <UP>              Advance to previous undeleted message
  1089. X           l                    Limit messages by specified criteria
  1090. X          ^L                    Redraw screen
  1091. X           m                    Mail a message
  1092. X           n                    Next message, displaying current,
  1093. X                                        then increment
  1094. X           o                    Change ELM options
  1095. X           p                    Print current message or tagged messages
  1096. X           q                    Quit with prompting for deleting, storing,
  1097. X                                        and keeping messages
  1098. X           Q                    Quick quit - no prompting
  1099. X           r                    Reply to current message
  1100. X           s                    Save current message or tagged messages
  1101. X                                        to a folder
  1102. X           t                    Tag current message for further operations
  1103. X          ^T                    Tag messages with a specified pattern
  1104. X           u                    Undelete current message
  1105. X          ^U                    Undelete messages with a specified pattern
  1106. X           x, ^Q, DEL           Exit leaving folder untouched
  1107. SHAR_EOF
  1108. chmod 0444 doc/elm-help.0 || echo "restore of doc/elm-help.0 fails"
  1109. echo "x - extracting doc/elm-help.1 (Text)"
  1110. sed 's/^X//' << 'SHAR_EOF' > doc/elm-help.1 &&
  1111. X
  1112. X           Commands available from the Options Menu in Elm 2.2
  1113. X
  1114. X Key    Meaning
  1115. X ---    -------
  1116. X  >     Save current options to elmrc file.
  1117. X
  1118. X  a     Arrow cursor.  Changes from "->" to inverse bar and back for
  1119. X        indicating the current message. Change with <space>.
  1120. X
  1121. X  c     Calendar file.  See '<' at top level menu for more information on this.
  1122. X
  1123. X  d     Display pager. "builtin" and "builtin+" will use the built-in pager,
  1124. X        or you enter the name of a standard pager, like "more".
  1125. X
  1126. X  e     Editor to use when composing messages.
  1127. X
  1128. X  f     Folder directory.  This is what '=', '+', or '%' on the front of a
  1129. X        folder name expands to.
  1130. X
  1131. X  i     Return to index screen.
  1132. X
  1133. X ^L     Redraw screen.
  1134. X
  1135. X  m     Mini-menu displayed on index screen or not. Change with <space>.
  1136. X
  1137. X  n     Names only or names and address displayed. Change with <space>.
  1138. X
  1139. X  s     Sorting criteria.  Step through with <space>, <return> selects.
  1140. X
  1141. X  o     Outbound mail file.  Where to save copies of outbound mail when not
  1142. X        saved by the recipient's name.
  1143. X
  1144. X  p     Print messages with this command. '%s' can be used in the command
  1145. X        as a filename holder.
  1146. X
  1147. X  u     User's expertise level. Change with <space>.
  1148. X
  1149. X  y     Your fullname to be used in outbound mail.
  1150. X
  1151. X  x     Exit ELM leaving folder untouched.
  1152. SHAR_EOF
  1153. chmod 0444 doc/elm-help.1 || echo "restore of doc/elm-help.1 fails"
  1154. echo "x - extracting doc/elm-help.2 (Text)"
  1155. sed 's/^X//' << 'SHAR_EOF' > doc/elm-help.2 &&
  1156. X
  1157. X           Commands available from the Alias Menu in Elm 2.2
  1158. X
  1159. X Key    Meaning
  1160. X ---    -------
  1161. X
  1162. X  ?     Help on a specific key, or this summary of commands.
  1163. X
  1164. X  a     Add the return address of current message to alias database, (or
  1165. X        the regular address if current message is copy of a message sent).
  1166. X
  1167. X  d     Delete a user alias from alias database.
  1168. X
  1169. X  l     List all aliases in the database.
  1170. X
  1171. X  m     Make a new user alias, adding it to alias database when done.
  1172. X
  1173. X  r,x   Return from the alias menu.
  1174. X
  1175. X  p     Check for a person in the alias database.
  1176. X
  1177. X  s     Check for a system in the host routing/domain database.
  1178. SHAR_EOF
  1179. chmod 0444 doc/elm-help.2 || echo "restore of doc/elm-help.2 fails"
  1180. echo "x - extracting doc/elm-help.3 (Text)"
  1181. sed 's/^X//' << 'SHAR_EOF' > doc/elm-help.3 &&
  1182. X
  1183. X        Command                      Elm 2.2 Action
  1184. X
  1185. X
  1186. X          <RETURN>              Display the current message,
  1187. X                                        or (builtin pager only) scroll
  1188. X                                        current message forward one line
  1189. X          <SPACE>               Display the next screen of the current
  1190. X                                        message (builtin pager only),
  1191. X                                        or if at the end of a message,
  1192. X                                        the first screen of the next message
  1193. X           |                    Pipe current message or tagged messages to
  1194. X                                        a system command.
  1195. X           !                    Shell escape
  1196. X           ?                    This screen of information
  1197. X           >                    Save current message or tagged messages
  1198. X                                        to a folder
  1199. X           <                    Scan current message for calendar entries
  1200. X           b                    Bounce (remail) current message
  1201. X           C                    Copy current message or tagged messages
  1202. X                                        to a folder
  1203. X           d                    Delete current message
  1204. X           f                    Forward current message
  1205. X           g                    Group (all recipients) reply to current message
  1206. X           h                    Headers displayed with message
  1207. X           i                    Return to index screen
  1208. X           J                    Increment current message by one
  1209. X           j, <DOWN>            Advance to next undeleted message
  1210. X           K                    Decrement current message by one
  1211. X           k, <UP>              Advance to previous undeleted message
  1212. X           m                    Mail a message
  1213. X           n                    Display next message
  1214. X           p                    Print current message or tagged messages
  1215. X           q                    Quit pager mode and return to index screen
  1216. X           r                    Reply to current message
  1217. X           s                    Save current message or tagged messages
  1218. X                                        to a folder
  1219. X           t                    Tag current message for further operations
  1220. X           u                    Undelete current message
  1221. X           x                    Exit leaving folder untouched
  1222. SHAR_EOF
  1223. chmod 0444 doc/elm-help.3 || echo "restore of doc/elm-help.3 fails"
  1224. echo "x - extracting doc/elm.1 (Text)"
  1225. sed 's/^X//' << 'SHAR_EOF' > doc/elm.1 &&
  1226. X.TH ELM 1L "Elm Version 2.2" "USENET Community Trust"
  1227. X.ad b
  1228. X.SH NAME
  1229. Xelm - an interactive mail system
  1230. X.SH SYNOPSIS
  1231. X.B elm
  1232. X[
  1233. X.B \-achkKmrwz
  1234. X] [
  1235. X.B \-f
  1236. X.I "alternate-folder"
  1237. X] [
  1238. X.B \-d
  1239. X.I debug-level
  1240. X]
  1241. X.br
  1242. X.B elm 
  1243. X[
  1244. X.B \-s 
  1245. X.I subject
  1246. X]
  1247. X.I "list of aliases or addresses"
  1248. X.PP
  1249. X.SH DESCRIPTION
  1250. X.I Elm\^
  1251. Xis an interactive screen-oriented mailer program that supercedes 
  1252. X.I mail
  1253. Xand 
  1254. X.I mailx.
  1255. X.PP
  1256. XThere are three main ways to use the \fBelm\fR mailer.  One way
  1257. Xto use the mailer is to specify a list of addresses on the
  1258. Xcommand line when the mailer is invoked.  This will allow sending
  1259. Xof a single message to the specified recipients with all the
  1260. Xoptions usually available in the \fBelm\fR system itself. For example,
  1261. Xthe command
  1262. X.nf
  1263. X
  1264. X    elm -s testing joe
  1265. X
  1266. X.fi
  1267. Xwould initiate the sending of a message to the alias joe with the subject
  1268. X"testing" indicated and
  1269. Xwould put you into an editor for you to enter the text of the message.
  1270. XIf the subject flag and argument were not present, you would be prompted
  1271. Xfor a message subject.
  1272. X.PP
  1273. XThe second way, used most commonly when transmitting files and such,
  1274. Xis to specify the subject of the message and the recipients using
  1275. Xthe command line and redirect a file as standard input.  For example,
  1276. Xthe command 
  1277. X.nf
  1278. X
  1279. X    elm -s testing joe < test.c 
  1280. X
  1281. X.fi
  1282. Xwould mail a copy of the
  1283. Xfile test.c to alias joe, with the subject "testing" indicated.
  1284. XThe subject flag and argument are optional.
  1285. X.PP
  1286. XThe third way, elm is invoked
  1287. Xwith neither subject nor addresses specified on the command line and
  1288. Xwithout standard input redirected.
  1289. XYou can then read any messages in your incoming mailbox (or specified
  1290. Xfolder), reply to messages in the mailbox, mail messages, etc.
  1291. X.PP
  1292. XOptions are:
  1293. X.TP 1.0i
  1294. X.B "  -a"
  1295. XArrow - force the arrow cursor (instead of the inverse bar)
  1296. X.TP
  1297. X.B "  -c"
  1298. XCheckalias - expand the following aliases and return.
  1299. X.TP
  1300. X.B "  -d \fIlevel\fR  "
  1301. XDebug - set specified debug level - Output to "$HOME/Elm:debug.info"
  1302. X.TP
  1303. X.B "  -f \fIalternative-folder\fR  "
  1304. XFolder - read folder (specified) rather than the incoming mailbox.
  1305. X.TP
  1306. X.B "  -h"
  1307. XHelp - give a list of starting options.
  1308. X.TP
  1309. X.B "  -?"
  1310. XSynonymous with the "-h" option.
  1311. X.TP
  1312. X.B "  -k"
  1313. XKeypad - force knowledge of HP terminal keyboard, to allow
  1314. Xthe use of the NEXT, PREV and HOME/SHIFT-HOME keys.
  1315. X.TP
  1316. X.B "  -K"
  1317. XKeypad + softkeys - enable use of softkeys on HP terminals only.
  1318. X.TP
  1319. X.B "  -m"
  1320. XMenu off - Use the extra lines for more message headers.
  1321. X.TP
  1322. X.B "  -s \fIsubj\fR  "
  1323. XSubject - specify subject for message to mail.
  1324. X.TP
  1325. X.B "  -z"
  1326. XZero - don't enter \fBElm\fR if no mail is pending.
  1327. X.SH AUTHOR
  1328. XDave Taylor, Hewlett-Packard Laboratories
  1329. X.SH SEE ALSO
  1330. XThe Elm documentation package, including:
  1331. X.I
  1332. XThe Elm Users Guide,
  1333. XThe Elm Reference Guide,
  1334. XThe Elm Alias SystemUsers Guide,
  1335. XThe Elm Forms Mode Guide,
  1336. XThe Elm Filter Guide,
  1337. XThe Elm Configuration Guide\fR
  1338. Xall written by by Dave Taylor.
  1339. X.sp 
  1340. X.br
  1341. Xnewalias(1L), checkalias(1L), mail(1), mailx(1), frm(1L), printmail(1L)
  1342. X.SH FILES
  1343. X/usr/local/bin/elm-help.main      help file
  1344. X.br
  1345. X/usr/local/lib/.alias_hash        system alias hash table
  1346. X.br
  1347. X/usr/local/lib/.alias_data        system alias data table
  1348. X.br
  1349. X$HOME/.elm/aliases.hash           user alias hash table
  1350. X.br
  1351. X$HOME/.elm/aliases.data           user alias data table
  1352. X.br
  1353. X$HOME/.elm/elmrc                  customized mailer parameters
  1354. X.br
  1355. X$HOME/.elm/elmheaders             customized message headers
  1356. X.br
  1357. X/tmp/snd.$$                       outgoing mail edit buffer
  1358. X.br
  1359. X/tmp/mbox.\fIlogname\fR            temporary mailbox
  1360. X.br
  1361. X$HOME/ELM:debug.info              Debug output if turned on
  1362. X.SH DIAGNOSTICS
  1363. XShould know about keyboards/softkey terminals other than HP.  (If only 
  1364. Xtermcap were that powerful!)
  1365. X.SH BUG REPORTS TO
  1366. XSyd Weinstein    elm@dsinc.UUCP    (dsinc!elm)
  1367. X.SH COPYRIGHTS
  1368. X.ps 18
  1369. X\fB\(co\fR\s12 Copyright 1986, 1987 by Dave Taylor
  1370. X.br
  1371. X.ps 18
  1372. X\fB\(co\fR\s12 Copyright 1988, 1989 by The USENET Community Trust
  1373. SHAR_EOF
  1374. chmod 0444 doc/elm.1 || echo "restore of doc/elm.1 fails"
  1375. echo "x - extracting doc/elmrc-info (Text)"
  1376. sed 's/^X//' << 'SHAR_EOF' > doc/elmrc-info &&
  1377. X#@(#)$Id: elmrc-info,v 2.9 89/03/25 21:00:41 syd Exp $
  1378. X# Elm Version 2.2
  1379. X# For yes/no settings with ?, ON means yes, OFF means no
  1380. X
  1381. Xshell
  1382. X# The shell to use for shell escapes
  1383. X
  1384. Xfullname
  1385. X# The full user name for outbound mail
  1386. X
  1387. Xmaildir
  1388. X# where to save my mail to, default directory is "Mail"
  1389. X
  1390. Xreceivedmail
  1391. X# where to save received messages to, default file is "=received"
  1392. X
  1393. Xeditor
  1394. X# what editor to use ("none" means simulate Berkeley Mail)
  1395. X
  1396. Xescape
  1397. X# the character to use in the builtin editor for entering commands
  1398. X
  1399. Xsentmail
  1400. X# where to save copies of outgoing mail to, default file is "=sent"
  1401. X
  1402. Xcalendar
  1403. X# where to save calendar entries
  1404. X
  1405. Xsortby
  1406. X# how to sort folders, "Mailbox" by default
  1407. X
  1408. Xprint
  1409. X# how to print a message ('%s' is the filename)
  1410. X
  1411. Xprefix
  1412. X# prefix sequence for indenting included message text in outgoing messages...
  1413. X
  1414. Xweedout
  1415. X# what headers I DON'T want to see, ever.
  1416. X
  1417. Xbounceback
  1418. X# threshold for bouncing copies of remote uucp messages...
  1419. X# zero = disable function.
  1420. X
  1421. Xtimeout
  1422. X# Set the main prompt timeout for resynching...
  1423. X
  1424. Xautocopy
  1425. X# automatically copy message being replied to into buffer? 
  1426. X
  1427. Xcopy
  1428. X# save a copy of all outbound messages?
  1429. X
  1430. Xresolve
  1431. X# emulate the mailx message increment mode (only increment after something
  1432. X# has been 'done' to a message, either saved or deleted, as opposed to 
  1433. X# simply each time something is touched)?
  1434. X
  1435. Xweed
  1436. X# enable the weedout list to be read?
  1437. X
  1438. Xnoheader
  1439. X# when messages are copied into the outbound buffer, don't include headers?
  1440. X
  1441. Xtitles
  1442. X# display message title when displaying pages of message?
  1443. X
  1444. Xsavename
  1445. X# save messages, incoming and outbound, by login name of sender/recipient?
  1446. X
  1447. Xmovepage
  1448. X# when using the page commands (+ - <NEXT> <PREV>) change the current
  1449. X# message pointer...?
  1450. X
  1451. Xpointnew
  1452. X# start up by pointing to the first new message received, if possible?
  1453. X
  1454. Xsignature
  1455. X# ".signature" file to append to outbound messages...
  1456. X
  1457. Xlocalsignature
  1458. X# local ".signature" file to append to appropriate messages...
  1459. X
  1460. Xremotesignature
  1461. X# remote ".signature" file to append to appropriate messages...
  1462. X
  1463. Xalwayskeep
  1464. X# should the default be to keep unread messages in the incoming mailbox?
  1465. X
  1466. Xalwaysstore
  1467. X# should the default be to store read messages to the "received" folder?
  1468. X
  1469. Xalwaysdelete
  1470. X# should the default be to delete messages we've marked for deletion?
  1471. X
  1472. Xpager
  1473. X# program to use for displaying messages ('builtin' is recommended)
  1474. X
  1475. Xpromptafter
  1476. X# prompt for a command after the external pager exits?
  1477. X
  1478. Xkeepempty
  1479. X# should we keep folders from which all messages are deleted?
  1480. X
  1481. Xkeypad
  1482. X# are we running on an HP terminal and want HOME, PREV, NEXT, etc...?
  1483. X
  1484. Xsoftkeys
  1485. X# are we running on an HP terminal and want softkeys available too?
  1486. X# (this implies "keypad=ON" too)
  1487. X
  1488. Xalternatives
  1489. X# alternative addresses that I could receive mail from (usually a
  1490. X# forwarding mailbox) and don't want to have listed...
  1491. X
  1492. Xforms
  1493. X# do we want to be able to mail out AT&T Mail Forms?
  1494. X
  1495. Xwarnings
  1496. X# tell us about addresses to machines we can't directly get to?
  1497. X
  1498. Xuserlevel
  1499. X# are we good at it?  0=beginner, 1=intermediate, 2+ = expert!
  1500. X
  1501. Xnames
  1502. X# just show the names when expanding aliases?
  1503. X
  1504. Xarrow
  1505. X# should we use the "->" rather than the inverse video bar?
  1506. X
  1507. Xmenu
  1508. X# should we display the three-line 'mini' menu?
  1509. X
  1510. Xask
  1511. X# should the message disposition questions be displayed(ON) or
  1512. X# auto-answered(OFF) with the default answers when we resync or change folders?
  1513. SHAR_EOF
  1514. echo "End of part 6"
  1515. echo "File doc/elmrc-info is continued in part 7"
  1516. echo "7" > s2_seq_.tmp
  1517. exit 0
  1518.  
  1519.